package top.healthylife.gateway.platform.lexin.api.api;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.lexin.api.util.LeXinHttpUtil;
import top.healthylife.gateway.platform.lexin.dto.basereq.LeXinUnifyReqDto;
import top.healthylife.gateway.platform.lexin.dto.heibaiinfo.res.LeXinResHeiBaiInfoDto;

/**
 * @author : GaoZeXi
 * @date 2021/7/14 17:47
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20,apiName = "黑白用户分",docUrl = "-", info = "乐图 Pro 黑白用户分")
public class LeXinHeiBaiInfoApi implements ParentFace<LeXinUnifyReqDto, LeXinResHeiBaiInfoDto> {
    static final String API_NAME = "黑白用户分";
    @Override
    public LeXinResHeiBaiInfoDto execute(LeXinUnifyReqDto leXinUnifyReqDto){
        return LeXinHttpUtil.HttpRequest(leXinUnifyReqDto,API_NAME,LeXinResHeiBaiInfoDto.class);
    }
}
